import type { GlobConfig } from '/@/types/config';

const { VITE_APP_TITLE, VITE_APP_URL, VITE_APP_VERSION, VITE_APP_MODULES } = import.meta.env;

export const globalData: Readonly<GlobConfig> = {
  title: VITE_APP_TITLE as string,
  apiUrl: VITE_APP_URL as string,
  version: VITE_APP_VERSION as string,
  modules: VITE_APP_MODULES as string,
  pollingInterval: 5000,
};
